package com.cizzy.video.feign;


import com.cizzy.video.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("favorite-server-service")
public interface FavoriteFeign {
    @GetMapping("/favorite/isFavorited/{userId}/{videoId}")
    Result<Boolean> isFavorited(@PathVariable("userId") Long userId, @PathVariable("videoId") Long videoId);
}
